#ifndef __VOLUME_UNIT_H__
#define __VOLUME_UNIT_H__

#include "AbstractUnit.h"

class VolumeUnit : public Unit
{
public:

   
    const static VolumeUnit& getTBSPUnit();
    const static VolumeUnit& getTSPUnit();
    const static VolumeUnit& getOZUnit();

private:
    VolumeUnit(float factorToBase, string name):Unit(factorToBase, name){};
    VolumeUnit(float factorToBase):Unit(factorToBase){};

    const static float UNIT_OZ_TO_TBSP = 2;
    const static float UNIT_TBSP_TO_TSP = 3;
};


const static VolumeUnit& OZ = VolumeUnit::getOZUnit();
const static VolumeUnit& TBSP = VolumeUnit::getTBSPUnit();
const static VolumeUnit& TSP = VolumeUnit::getTSPUnit();

const static VolumeUnit StdUnit[] = {OZ, TBSP, TSP};


#endif
